.cto-message {
  min-width: 380px;
  border-width: 1px;
  border-style: solid;
  border-color: #ebeef5;
  background-color: #edf2fc;
  transform: translateX(-50%);
  position: fixed;
  left: 50%;
  top: 20px;
  transition: opacity 0.3s, transform 0.4s, top 0.4s;
  padding: 15px 15px 15px 20px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
}

.cto-message-center {
  justify-content: center;
}

.cto-message .message-content {
  margin-left: 16px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1;
}

.cto-message .close-button {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  cursor: pointer;
  background-image: url('./img/close.png');
  width: 12px;
  height: 12px;
  background-size: 100% 100%;
}

.cto-message-leave {
  opacity: 0;
  transform: translate(-50%, -100%);
}

.cto-message-enter {
  opacity: 1;
  transform: translate(-50%, -100%);
}

.cto-message-info .message-content {
  color: #909399;
}

.cto-message-success {
  background-color: #f0f9eb;
  border-color: #e1f3d8;
}

.cto-message-success .message-content {
  color: #67c23c;
}

.cto-message-warning {
  background-color: #fdf6ec;
  border-color: #faecd8;
}

.cto-message-warning .message-content {
  color: #e6a23c;
}

.cto-message-error {
  background-color: #fef0f0;
  border-color: #fde2e2;
}

.cto-message-error .message-content {
  color: #f56c6c;
}
